package com.jjty.dataGenerator.utils;

import cn.hutool.core.codec.Base64;


public class PasswordDecoder {

    public static String decode(String password)  {
        byte[] decode = Base64.decode(password.getBytes());
        return new String(decode);
    }

    public static String encode(String password){
        return Base64.encode(password);
    }

}
